<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
    <head>
        <title>HLS</title>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	</head>
<body>
<script type="text/javascript" src="/swfobject.js"></script>

<div id="GrindPlayer">
	<p>
		Alternative content
	</p>
</div>
<script type="text/javascript">

    var flashvars = {
        src: escape("http://yexiang.oschina.io/stream.m3u8"),
		autoPlay: true, controlBarAutoHide: false, volume: 0.3,
        // url to OSMF HLS Plugin
        plugin_m3u8: "/flashlsOSMF.swf",
    };
    var params = {
        // self-explained parameters
        allowFullScreen: true,
        allowScriptAccess: "always",
        bgcolor: "#000000"
    };
    var attrs = {
        name: "GrindPlayer"
    };
    swfobject.embedSWF(
        // url to SMP player
        "/StrobeMediaPlayback.swf",
        // div id where player will be place
        "GrindPlayer",
        // width, height
        "320", "160",
        // minimum flash player version required
        "10.2",
        // other parameters
        null, flashvars, params, attrs
    );




</script>
</body>
</html>
